﻿@inject Microsoft.ApplicationInsights.AspNetCore.JavaScriptSnippet JavaScriptSnippet
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>@ViewData["Title"] - ToDoListWeb</title>
    @Html.Raw(JavaScriptSnippet.FullScript)
    @RenderSection("head", false)
    <link rel="stylesheet" type="" href="~/css/_layout.css">
    <link rel="stylesheet" type="" href="~/css/checkMatter.css" />
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
    <script src="https://cdn.bootcss.com/jquery/2.2.0/jquery.js"></script>
</head>


<body>
    <div id="main">
        <div id="menu" style="color:white;">
            <div id="user-info" style="overflow:hidden;">
                <p>
                    <a id="user-a1" asp-area="" asp-controller="User" asp-action="UserInfo"><img src="~/images/用户.png" id="user-img"></a>
                    <a id="userName" asp-area="" asp-controller="User" asp-action="UserInfo"><span id="user-name"></span></a>
                </p>
            </div>
            <div id="user-menu">
                <a class="menu-list" href="/User/ShowEvents">
                    <img src="~/images/完成.png">
                    清单总览
                    <span></span>
                </a>
                <a class="menu-list" href="/Matter/ShowPastdueMatters">
                    <img src="~/images/过期.png">
                    过期事项
                    <span></span>
                </a>
                <a class="menu-list" href="/Matter/ShowAllMatters">
                    <img src="~/images/所有事项.png">
                    所有事项
                    <span></span>
                </a>
                <a class="menu-list" href="/Matter/SearchPage">
                    <img src="~/images/搜索.png">
                    查找事项
                    <span></span>
                </a>
            </div>
        </div>
        <div id="display">
            <div id="head-display">
                <div ><a href="/Matter/UpcomingOverTime"><h5 id="upcomingThings">即将过期事项</h5></a></div>
                <a id="logout" href="/User/Logout"><img id="img-logout" src="~/images/注销.png"></a>
            </div>
            <div id="body-display">
                @RenderBody()
            </div>
        </div>
        <div id="keep-out"></div>
        <div id="extend-box">
        </div>
    </div>

    @RenderSection("Scripts", required: false)
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
    <script src="~/js/_mainMenu.js"></script>
    <script src="~/js/sharedAjax.js"></script>
</body>
</html>